<?php
namespace Modules\ShopApi\Models;
class Area extends BaseApiModel
{	
	/**
     * @name  获取省市区 
     */
	public function get_area($pid){
		$list = $this->where('pid',$pid)->select('id','name')->orderBy('sort','asc')->get();
		return $this->api_success(['data'=>$list]);
	}
	
}
